#!/bin/bash

#Insert into the top of a file

files=`ls *.c *.h`

#cat headertemplate.txt

for file in $files
  do
  tmp="${file}_"
  cat headertemplate.txt $file > $tmp
  mv $tmp $file
done
